<template>
  <div id="app">
   <router-view></router-view>

   <van-tabbar route active-color="#0f5de5" inactive-color="#444" v-show="$route.meta.showTabbar">
  <van-tabbar-item :to="{name:'Home'}" icon="home-o">首页</van-tabbar-item>
  <van-tabbar-item :to="{name:'Fenlei'}" icon="search">分类</van-tabbar-item>
  <van-tabbar-item :to="{name:'Cart'}" icon="friends-o">购物车</van-tabbar-item>
  <van-tabbar-item :to="{name:'Mine'}" icon="setting-o">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>

export default {
  name: 'App',
  data(){
      return{
        active:2,
      } 
  },
  components: {
   
  }
}
</script>

<style>
#app {

}
</style>
